//
//  ChatListCell.h
//  PigMarket
//
//  Created by mac on 2019/6/4.
//  Copyright © 2019 felix.pigmarket.oc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <TIMFriendshipManager.h>

typedef void (^AgreeAddBlock)(void);
@interface ChatListCell : UITableViewCell
/**
 添加状态
 */
@property (nonatomic , strong) UIButton *addStatusBtn;
/**
 model
 */
@property (nonatomic , strong) TIMFriendPendencyItem *addNewFriendModel;
/**
 好友通讯录
 */
@property (nonatomic , strong) Friends *friendModel;
/**
 群聊列表
 */
@property (nonatomic , strong) TIMGroupInfo *groupModel;
/**
 手机通讯录朋友
 */
@property (nonatomic , strong) AddressBookModel *addressBookModel;
/**
 搜索添加好友
 */
@property (nonatomic , strong) SearchAddFriend *searchAddFriendModel;
/**
 同意添加好友
 */
@property (nonatomic , copy) AgreeAddBlock agreeAddBlock;

+ (instancetype)cellWithTableView:(UITableView *)tableView;

/**
 添加豚友页面
 */
- (void)configAddFriendCellWithIndex:(NSInteger)index;
@end

